package org.ruoyi;

import org.ruoyi.configuration.MainConfiguration;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@EnableAspectJAutoProxy
public class MainClass {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext cxt = new AnnotationConfigApplicationContext(MainConfiguration.class);
		System.out.println(cxt.getBean("car"));
		System.out.println("1");
	}
}
